package qto

import (
	"comm/selfreg"
	"core/class"
	"core/coreqto"
	"reflect"
)

type CommDataQto struct {
	Sid         string `json:"sid"                         gorm:"column:sid;size:50;comment:设备编号;"`
	Method      string `json:"method"                         gorm:"column:method;size:10;comment:连接端口;"`
	CommPortId  int64  `json:"commPortId,string"                         gorm:"column:comm_port_id;comment:协议类型;"`
	CommProxyId int64  `json:"commProxyId,string"                         gorm:"column:comm_proxy_id;comment:代理程序;"`

	coreqto.BasePageDtQto
}

func init() {

	var mcls = &CommDataQto{}
	var m = &class.MyClass{
		Name:     "设备通讯数据Qto",
		Ename:    "",
		FullName: "",
		Memo:     "",
		Fileds:   nil,
		PrjName:  "",
		Type:     reflect.TypeOf(mcls),
	}
	selfreg.AddQto(m)
}
